package edu.xidian.bdilab.jrbigdata.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName ProductRequest
 * @Description TODO
 * @Author tuantuan
 * @Date 2019/4/2 上午10:31
 * @Version 1.0
 * @Attention Copyright (C), 2004-2019, BDILab, XiDian University
 **/
@TableName(value = "product_request")
@Data
public class ProductRequest {
    /**
     * 自增字段，唯一标识一条记录
     */
    @TableId(value = "request_id", type = IdType.AUTO)
    private int requestId;
    /**
     * 统一社会信用代码
     */
    private String fkSocialCode;
    /**
     * 金融产品名称
     */
    private String fkProductName;
    /**
     * 申请时间
     */
    private Date requestTime;
    /**
     * 企业名称
     */
    private String enterpriseName;
    /**
     * 状态
     * 0申请中
     * 1已成功(成交进入deal_product)
     * 2已拒绝
     */
    private int status;
    /**
     * 业务情况
     */
    private String comment;

    /**
     * 融资用途
     */
    private String fundUsage;

    public int getRequestId() {
        return requestId;
    }

    public void setRequestId(int requestId) {
        this.requestId = requestId;
    }

    public String getFkSocialCode() {
        return fkSocialCode;
    }

    public void setFkSocialCode(String fkSocialCode) {
        this.fkSocialCode = fkSocialCode;
    }

    public String getFkProductName() {
        return fkProductName;
    }

    public void setFkProductName(String fkProductName) {
        this.fkProductName = fkProductName;
    }

    public Date getRequestTime() {
        return requestTime;
    }

    public void setRequestTime(Date requestTime) {
        this.requestTime = requestTime;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getFundUsage() {
        return fundUsage;
    }

    public void setFundUsage(String fundUsage) {
        this.fundUsage = fundUsage;
    }
}
